home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
misc.swg
/
0055_BREAK and CONTINUE.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-11-02
|
252 b
|
12 lines
{
MARTIN LARSEN
There are at least two nice features in BP7: BREAK and CONTINUE:
}
Repeat
Inc(Count);
if Odd(Count) then Continue; { Go to start of loop }
if Count = 10 then Break; { Go to sentence just after loop }
Until False;